package net.chenlin.dp.common.support.ehcache;

import org.springframework.stereotype.Component;

import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;

@Component
public class EhcacheManager {


	private static CacheManager manager = CacheManager.create();
	
	public static Cache getDingTalkCache() {
		return manager.getCache("dingtalk_cache");
	}

	
	
}
